package com.shfl.task.component;

import java.util.HashMap;
import java.util.Map;

public class SendInfo {

    public SendInfo() {
    }

    public SendInfo(String sendUrl) {
        this.sendUrl = sendUrl;
    }

    /**
     * 发送的地址
     */
    private String sendUrl;

    private Map<String, Object> objectMap;

    public String getSendUrl() {
        return sendUrl;
    }

    public void setSendUrl(String sendUrl) {
        this.sendUrl = sendUrl;
    }

    public Map<String, Object> getObjectMap() {
        if (objectMap == null) {
            return new HashMap<>();
        }

        return objectMap;
    }

    public void setObjectMap(Map<String, Object> objectMap) {
        this.objectMap = objectMap;
    }
}
